﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class NPC:Jse
    {
        public NPC(string name) : base(name) { }
        public override void print()
        {
            Random ran = new Random();
            this.FGG = ran.Next(3) + 1;
            cq cq = (cq)FGG;
            Console.WriteLine("{0}:出拳：{1}",this.name,cq);
        }
    }
}
